cctype: tweak inclusions for _LIBCPP_MSVCRT case cctype uses ctype functions such as isblank. However, when building against msvcrt, this is provided by the support header. Include the support header if building for Windows to ensure that the definition is properly visible. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229161 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/cctype b/include/cctype index b647903..26c740f 100644 --- a/include/cctype +++ b/include/cctype
@@ -39,6 +39,7 @@ #include <ctype.h> #if defined(_LIBCPP_MSVCRT) #include "support/win32/support.h" +#include "support/win32/locale_win32.h" #endif // _LIBCPP_MSVCRT #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)